package com.test.mywebtest.entity;


import java.sql.Timestamp;

/**
 * Created by xieyun on 2018/4/11.
 */
public class MyFile {
    private String id; //主键
    private String filePath; //真实路径
    private Long fileSize; // 文件大小
    private String realName;  //真实文件名
    private String showName;  //显示的文件名
    private Timestamp createDate; //创建时间
    private Integer pageNo;//文件頁數

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public MyFile() {
    }

    public MyFile(String id, String filePath, Long fileSize, String realName, String showName, Timestamp createDate, Integer pageNo) {
        this.id = id;
        this.filePath = filePath;
        this.fileSize = fileSize;
        this.realName = realName;
        this.showName = showName;
        this.createDate = createDate;
        this.pageNo = pageNo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getShowName() {
        return showName;
    }

    public void setShowName(String showName) {
        this.showName = showName;
    }

    public Timestamp getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "MyFile{" +
                "id='" + id + '\'' +
                ", filePath='" + filePath + '\'' +
                ", fileSize=" + fileSize +
                ", realName='" + realName + '\'' +
                ", showName='" + showName + '\'' +
                ", createDate=" + createDate +
                '}';
    }
}
